from langchain_core.documents import Document

documents = [
    Document(
        page_content="这是一个文档，上海的天气是晴天",
        metadata={"source": "文本","id":"wen1"},
        id="wen1",
    ),
    Document(
        page_content="北京的天气是阴天",
        metadata={"source": "文本","id":"wen2"},
        id="wen1",
    ),
]
print(documents)